package com.langsin.Demo;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;

/**
@Auther: MFM
@Date: 2021/8/3 - 08 - 03 - 19:05 
@version: 1.0
*/

public class Test {
    public static void main(String[] args) {
        int i = 0;
        try{
            Scanner scanner = new Scanner(System.in);
            String next = scanner.next();
            i = Integer.parseInt(next);
            scanner.close();

        }catch (Exception e){
            try {
                PrintWriter printWriter = new PrintWriter((new FileWriter("./log.txt",true)), true);
                e.printStackTrace(printWriter);
            } catch (Exception e2) {
                e2.printStackTrace();
            }
        }finally {
            System.out.println(i);
            System.out.println("运行完毕");
        }
    }
}
